﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="courselistDestbrowser.aspx.cs" Inherits="UserCourseListDest_courselistDestbrowser" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Css/ys.css" rel="stylesheet" type="text/css" />
   <script src="../Js/jquery-1.4.2.min.js" type="text/javascript"></script>
      <script src="../Js/tablehover.js" type="text/javascript"></script>
</head>
    <style type="text/css">
        .style1
        {
            width: 7%;
        }
    </style>

<body>
   <form id="form1" runat="server">
    <div style="margin-left: 5px">
        <div class="title">
            <div class="titleLeft">
               学生选择培训班</div>
        </div>
         <div id="search" class="search">
         <table cellspacing="1" cellpadding="3" border="0">
        <tr>
        <td class="noWrapTD">
       选择培训班
        </td>
        <td   class="noWrapTD" colspan="5">
        <div class="taSearch">
         <%=courselisthtml %>
        </div>
        </td>
        </tr>
        <tr>
        <td class="noWrapTD"> 学员真实名称</td><td><asp:TextBox ID="tb_VU_realname" runat="server" CssClass="inp1"></asp:TextBox></td><td class="noWrapTD"> 学员登录名</td><td><asp:TextBox ID="tb_VU_loginname" runat="server" CssClass="inp1"></asp:TextBox><td><asp:Button ID="Button1" runat="server" Text="搜索" onclick="Button1_Click" CssClass="button"/></td><td>&nbsp; &nbsp;</td>
      <td class="noWrapTD"><input type="button" onclick="location.href='courselistDest.aspx'" value="新建培训班分配" class="button"/ style="width:100px"></td>
        </tr> </table>  </div>
         <br class="sp3px" />
         <table class="tab_alt" style="width: 100%" cellpadding="0" cellspacing="0">
        <tr class="header">
        <td class="noWrapTD">操作</td>
        <td class="noWrapTD">培训班名称</td>
        <td class="noWrapTD">培训班编号</td>
        <td class="noWrapTD">学员真实名</td>
        <td class="noWrapTD">学员登录名</td>
        <td class="noWrapTD">培训班开课日期</td>
        <td class="noWrapTD">培训班结束日期</td>
        </tr>
       <asp:Repeater runat="server" ID="repDesc">
        <ItemTemplate>
  <tr class="<%# Container.ItemIndex%2==1?"odd":"" %>">
        <td class="ta2"></asp:LinkButton><asp:LinkButton CssClass="button2" ID="lbdelete" runat="server" CommandArgument='<%#Eval("trainClassid")+","+Eval("userid")%>' OnCommand="lbdelete_Command" OnClientClick='return confirm("确定要删除么？")' Text="删除"></asp:LinkButton></td>
        <td class="ta2">&nbsp;<%#Eval("vtc_name")%></td>
         <td class="ta2">&nbsp;<%#Eval("VTC_Number")%></td>
        <td class="ta2">&nbsp;<%#Eval("vu_realname")%></td>
         <td class="ta2">&nbsp;<%#Eval("vu_loginname")%></td>
        <td class="ta2">&nbsp;<%#Eval("vtc_starDate","{0:yyyy-MM-dd}")%></td>
        <td class="ta2">&nbsp;<%#Eval("vtc_enddate","{0:yyyy-MM-dd}")%></td>
        </tr>
        </ItemTemplate>
        </asp:Repeater>
        </table>
         <br class="sp3px" />
         <webdiyer:aspnetpager ID="pager" runat="server" onpagechanged="pager_PageChanged" CssClass="anpager" CurrentPageButtonClass="cpb" PageSize="15"></webdiyer:aspnetpager> 
  </div>     
    </form>
</body>
</html>
